package com.kinggm.service.strategy.abs.impl;


import com.kinggm.service.strategy.abs.Duck;

public class RubberDuck extends Duck {

    @Override
    public void swim() {
        System.out.println(this.getName());
        super.swim();
    }
}
